home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6551 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: kari.fm.unit.no!rustad
  2. From: rustad@fm.unit.no (Rolf Rustad)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Getting a 256 BMP to look right in client window
  5. Date: 9 Feb 1996 09:42:41 GMT
  6. Organization: The Norwegian University of Science and Technology
  7. Message-ID: <4ff4uh$8mv@due.unit.no>
  8. References: <4fevig$6tf@dfw.nkn.net>
  9. NNTP-Posting-Host: kari.fm.unit.no
  10. X-Newsreader: TIN [version 1.1 PL6]
  11.  
  12. Albert Wiersch (wiersch@fastlane.net) wrote:
  13. : I am writing a Win 95 program that copies a BMP to the client window.
  14. : It is a 256 color bitmap and when I run the program in 64k colors, it
  15. : looks great but when I run the program in 256 colors, it looks like
  16. : crap. I assume that I need to somehow tell the computer the palette
  17. : needs adjusting so that it will look right. What can I do about this?
  18. : Any help would be appreciated!
  19.  
  20. The colors in your bitmap conflict with and are overruled by the colors in the
  21. system palette. You have to set the palette spesifically, but then you risk 
  22. that the rest of your screen will look like crap.
  23.  
  24. Rolf
  25.  
  26.